package com.wisdytech.linkdcs.factory.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;

/**
 * 
 * @author chenbin
 * @since 2018-05-03
 *
 */
@TableName("TM_FACTORY")
public class Factory extends Model<Factory>{
    
	private static final long serialVersionUID = 1L;
	/**
     * 唯一id
     */
    @TableId("PK_ID")
	private String pkId;
    
    /**
     * 厂区编号
     */
	@TableField("FACTORY_CODE")
	private String factoryCode;
	
    /**
     * 厂区名称
     */
	@TableField("FACTORY_NAME")
	private String factoryName;
	
    /**
     * 厂区简称
     */
	@TableField("SHORT_NAME")
	private String shortName;
	
    /**
     * 厂区标识
     */
	@TableField("FACTORY_TAG")
	private String factoryTag;
	
    /**
     * 厂区地址
     */
	@TableField("FACTORY_ADDRESS")
	private String factoryAddress;
	
    /**
     * 删除标记
     */
	@TableField("DEL_FLAG")
	private String delFlag;
	
	
    /**
     * 记录创建人
     */
	@TableField("CREATE_USER")
	private String createUser;
    /**
     * 记录创建时间
     */
	@TableField("CREATE_DATE")
	private Date createDate;
    /**
     * 记录更新人
     */
	@TableField("UPDATE_USER")
	private String updateUser;
    /**
     * 记录更新时间
     */
	@TableField("UPDATE_DATE")
	private Date updateDate;
    /**
     * 备注
     */
	@TableField(value="REMARK")
	private String remark;
	
	
	
	public String getPkId() {
		return pkId;
	}



	public void setPkId(String pkId) {
		this.pkId = pkId;
	}



	public String getFactoryCode() {
		return factoryCode;
	}



	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}



	public String getFactoryName() {
		return factoryName;
	}



	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}



	public String getShortName() {
		return shortName;
	}



	public void setShortName(String shortName) {
		this.shortName = shortName;
	}



	public String getFactoryTag() {
		return factoryTag;
	}



	public void setFactoryTag(String factoryTag) {
		this.factoryTag = factoryTag;
	}



	public String getFactoryAddress() {
		return factoryAddress;
	}



	public void setFactoryAddress(String factoryAddress) {
		this.factoryAddress = factoryAddress;
	}



	public String getDelFlag() {
		return delFlag;
	}



	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}



	public String getCreateUser() {
		return createUser;
	}



	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}



	public Date getCreateDate() {
		return createDate;
	}



	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}



	public String getUpdateUser() {
		return updateUser;
	}



	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}



	public Date getUpdateDate() {
		return updateDate;
	}



	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
